package spark.identity;

public class Id implements IIdentifiable {
	Integer value;

	public Id(Object o) {
		value = o.hashCode();
	}

	@Override
	public boolean equals(Object obj) {
		return (obj instanceof Id) && ((Id)obj).value.equals(this.value);
	}
}
